package cn.t.dto.order;

import cn.t.vo.order.UpdateOrderGoodsVO;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author l
 */
@Data
public class UpdateOrderDTO {
    /**
     * 订单编号
     */
    @NotBlank(message = "订单号不能为空")
    private String orderSn;
    /**
     * 明细行
     */
    @NotEmpty(message = "明细不能为空")
    @Valid
    private List<UpdateOrderGoodsVO> orderGoodsList;
}
